from zybd.models import ZhengZhuang, Department
crawl_settings = {
    'zhengzhuang_department': {
        'base_url': 'http://127.0.0.1:8080',
        'process_num': 4,
        'http_parse':[
            ('class', 'ul-ss-3 zz-xx-ks', '1'),
            ('inner', 'li', '0'),
        ],
        'db_field': 'department',
        'http_url':'',
        'url_replace': [],
        'queue_num': 10000,
        'save_model': ZhengZhuang,
        'set_mode': Department
    }
}
RUN_SETTING = crawl_settings['zhengzhuang_department']
